﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Creature_Battle.Model;

namespace Creature_Battle.BR
{
    public class Creature_Factory
    {
        public static Random rand = new Random();

        public Creature Create_Creature(string nome)
        {
            Creature cr = new Creature() { Nome = nome, AttackPower = rand.Next(5, 21), HP = rand.Next(50, 101), Level = 1 };
            cr.CurrentHP = cr.HP;
            cr.CurrentAttackPower = cr.AttackPower;
            return cr;
        }
    }
}
